package edu.sctu.practice.class02.renzhaoxu.test08;

/**
 * Created by Administrator on 2015/10/22.
 */
public class Car extends Vehicles {

    private int seats;

    public Car(String brand, String color, int seats) {
        super(brand, color);
        this.seats = seats;

    }


    void showCar() {

        super.showInfo();
        System.out.println("座位" + seats);

    }
}
